<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="金西振">
    <title></title>
    <style>
    *{
        box-sizing: border-box;
    }
    body{
        margin: 0;
        
    }
    ul{
        margin: 0;
        padding: 0;
        list-style: none;
    }
    a{
        text-decoration: none;
        color: inherit;
        font-size: inherit;
    }
    .container{
        width: 1200px;
        margin: 0 auto;
    }
    header{
        height: 100px;
        background-color: #fff;
    }
    .nav{
        width: 100%;
        height: 50px;
        border: 1px solid #aaa;
        background-color: lightseagreen;
    }
    .nav-list{
        display: flex;
    }
    .nav-list>li{
        height: 50px;
        position: relative;
    }
    .nav-list>li>a{
        display: block;
         height: 48px;
        line-height: 50px;
        padding: 0 5px;
        font-size: 14px;
    }
    .nav-list>li.active>a{
        color: blue !important;
        border-bottom: 2px solid blue;
    }
    .nav-list>li:hover>a{
        color: red;
    }
    .nav-sub{
        width: 220px;
        box-shadow: 0 0 3px red;
        font-size: 14px;
        background-color: #fff;
        position: absolute;
        top: 45px;
        left: -94px;
        padding: 10px;
        display: none;
    }
    .nav-sub>li{
        float: left;
        width: 96px;
        /* 让文字显示省略号 */
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        line-height: 26px;
    }
    .nav-sub>li:hover{
        color: red;
    }
    .nav-sub .arrow{
        width: 14px;
        height: 8px;
        background-image: url(./img2/图片精灵1.png);
        background-position: -112px 0;
        position: absolute;
        top: -7px;
        left: calc(50% - 5px);
    }
    .nav-list>li:hover .nav-sub{
        display: block;
    }
    .more-icon{
        display: inline-block;
        width: 10px;
        height: 5px;
        /* background-color: red; */
        background-image: url(./img2/图片精灵1.png);
        background-position: -60px 0;
        transition: all 0.3s linear;
        transform-origin: center center;
    }
    .nav-list>li:hover .more-icon{
        transform: rotate(180deg);
    }
    </style>
</head>
<body>
    <header></header>
    <nav class="nav">
        <div class="container">
            <ul class="nav-list">
                <li class="active"><a href="#">首页</a></li>
                <li><a href="#">剧集</a>
                    <ul class="nav-sub">
                        
                        <li class="arrow"></li>
                        <li><a href="#">楚乔传 TV版</a></li>
                        <li><a href="#">春风十里不如你</a></li>
                        <li><a href="#">楚乔传 TV版</a></li>  
                        <li><a href="#">楚乔传 TV版</a></li>
                        <li><a href="#">楚乔传 TV版</a></li>
                        <li><a href="#">楚乔传 TV版</a></li>
                        <li><a href="#">楚乔传 TV版</a></li>
                        <li><a href="#">楚乔传 TV版</a></li>
                    </ul>
                </li>
                
                <li>
                    <a href="#">电影</a>
                    <ul class="nav-sub">
                        <li class="arrow"></li>
                        <li><a href="#">速度与激情8</a></li>
                        <li><a href="#">人间大炮</a></li>
                        <li><a href="#">速度与激情8</a></li>
                        <li><a href="#">人间大炮</a></li>
                        <li><a href="#">速度与激情8</a></li>
                        <li><a href="#">人间大炮</a></li>
                        <li><a href="#">速度与激情8</a></li>
                        <li><a href="#">人间大炮</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#">综艺</a>
                    <ul class="nav-sub">
                        <li class="arrow"></li>
                        <li><a href="#">挑战极限 第二季</a></li>
                        <li><a href="#">挑战者联盟 第三季</a></li>
                        <li><a href="#">挑战极限 第二季</a></li>
                        <li><a href="#">挑战者联盟 第三季</a></li>
                        <li><a href="#">挑战极限 第二季</a></li>
                        <li><a href="#">挑战者联盟 第三季</a></li>
                        <li><a href="#">挑战极限 第二季</a></li>
                        <li><a href="#">挑战者联盟 第三季</a></li>
                    </ul>
                </li>
                <li><a href="#">音乐</a></li>
                <li><a href="#">少儿</a></li>
                <li><a href="#">来疯</a></li>
                <li class="more">
                    <a href="#">更多<i class="more-icon"></i></a>
                    <ul class="nav-sub">
                        <li class="arrow"></li>
                        <li><a href="#">VR</a></li>
                        <li><a href="#">生活</a></li>
                        <li><a href="#">原创</a></li>
                        <li><a href="#">排行</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</body>
</html>
<script>

</script>